package com.bdqn.tsyyds.repository;

import com.bdqn.tsyyds.entity.Student;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


public interface StudentRepostiory extends JpaRepository<Student, Long>, JpaSpecificationExecutor<Student> {

    Student findByStdNameAndPassword(String stdName,String password);

    Student findByStdName(String s);

    Student findAllById(Long id);

}
